package org.boge.sharpdoc.dao;

import org.apache.ibatis.annotations.Mapper;
import org.boge.sharpdoc.bean.Comment;

import java.util.List;

@Mapper
public interface CommentDao {
    public List<Comment> findAll();

    public List<Comment> findByDocid(Integer docid);

    public List<Comment> findByUserPhone(Long phone);

    public Integer addNewComment(Comment comment);
}